package com.dwxt.cdms.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@Table(name = "t_aiaole_data")
public class AiaoleDataRecord {
    @Id
    private String id;

    /**
     * 录入数据的类型
     */
    private String type;

    /**
     * 接收的内容
     */
    @Column(name = "receive_data")
    private String receiveData;

    /**
     * 录入数据库的时间
     */
    @Column(name = "create_time")
    private LocalDateTime createTime;

    /**
     * 备用字段1
     */
    @Column(name = "spare_field_1")
    private String spareField1;

    /**
     * 备用字段2
     */
    @Column(name = "spare_field_2")
    private String spareField2;

    /**
     * 备用字段3
     */
    @Column(name = "spare_field_3")
    private String spareField3;

    /**
     * 备用字段4
     */
    @Column(name = "spare_field_4")
    private String spareField4;

}